﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace PHMEE.Entities.DaqInfo.TdDevices
{
    /// <summary>
    /// Td数据脚本实体
    /// </summary>
    public class TdSqlScript : Entity<Guid>
    {
        /// <summary>
        /// 所属数据库
        /// </summary>
        public string DbName { get; set; }
        /// <summary>
        /// 所属超级表
        /// </summary>
        public string SuperName { get; set; }
        /// <summary>
        /// 创建数据库脚本
        /// </summary>
        public string SqlScript { get; set; }
        /// <summary>
        ///  结构顺序，0 - 创建数据库，1 - 超级表，2 - 子表
        /// </summary>
        public int SortOrder { get; set; }

        public TdSqlScript(Guid id) { Id = id; }
    }
}
